Skip to content

chore(examples): update Nitro to v3 beta#6899

Merged
SeanCassiere merged 1 commit intoTanStack:mainfrom
dotnize:examples/nitro-v3-beta
Mar 14, 2026
Merged

chore(examples): update Nitro to v3 beta#6899
SeanCassiere merged 1 commit intoTanStack:mainfrom
dotnize:examples/nitro-v3-beta

Conversation

@dotnize
Copy link
Contributor

@dotnize dotnize commented Mar 11, 2026

  • examples updated from nitro v3 alpha to latest beta ^3.0.260311-beta
  • flamegraph-bench was also updated to beta. not sure if you guys wanted to keep that in nightly

Summary by CodeRabbit

  • Chores
    • Updated Nitro devDependency across multiple example and end-to-end test projects from fixed prerelease versions to a caret-prefixed beta release range, broadening allowed pre-release versions without functional changes.

@changeset-bot
Copy link

changeset-bot bot commented Mar 11, 2026

⚠️ No Changeset found

Latest commit: 912d2ca

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 11, 2026

📝 Walkthrough

Walkthrough

Nitro devDependency specifier was standardized across six e2e/example package.json files, replacing alpha/nightly pins with a caret-prefixed beta version "^3.0.260311-beta". No other dependency, script, or source code changes were made.

Changes

Cohort / File(s) Summary
E2E React Start Projects
e2e/react-start/css-modules/package.json, e2e/react-start/dev-ssr-styles/package.json, e2e/react-start/flamegraph-bench/package.json
Updated devDependencies.nitro to ^3.0.260311-beta; two files changed from "3.0.1-alpha.2", one from npm:nitro-nightly@latest.
Example Projects
examples/react/start-basic/package.json, examples/solid/start-basic-nitro/package.json, examples/solid/start-basic/package.json
Updated devDependencies.nitro from "3.0.1-alpha.2" to ^3.0.260311-beta in all three files.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 I hopped through package trees tonight,
Swapped alpha’s hush for beta bright,
A caret’s hug around the change,
Dependences now walk in range,
I cheer, nose twitching — versions light. ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: updating Nitro to v3 beta across example projects, matching the changeset's focus on updating nitro dependencies from alpha to beta versions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use your project's `biome` configuration to improve the quality of JS/TS/CSS/JSON code reviews.

Add a configuration file to your project to customize how CodeRabbit runs biome.

@nx-cloud
Copy link

nx-cloud bot commented Mar 11, 2026

View your CI Pipeline Execution ↗ for commit 912d2ca

Command Status Duration Result
nx affected --targets=test:eslint,test:unit,tes... ✅ Succeeded 11m 20s View ↗
nx run-many --target=build --exclude=examples/*... ✅ Succeeded 2m 10s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-14 09:49:47 UTC

@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2026

Bundle Size Benchmarks

  • Commit: ec7e8c5f6a78
  • Measured at: 2026-03-14T09:39:18.202Z
  • Baseline source: history:9db44632280c
  • Dashboard: bundle-size history
Scenario Current (gzip) Delta vs baseline Raw Brotli Trend
react-router.minimal 87.13 KiB 0 B (0.00%) 274.22 KiB 75.76 KiB ▂▂▂▂▂▂▂▂▁██
react-router.full 90.13 KiB 0 B (0.00%) 284.48 KiB 78.44 KiB ▂▂▂▂▂▂▂▂▁██
solid-router.minimal 36.48 KiB 0 B (0.00%) 109.43 KiB 32.81 KiB ▁▁▁▁▁▁▁▁▁██
solid-router.full 40.80 KiB 0 B (0.00%) 122.40 KiB 36.66 KiB ▁▁▁▁▁▁▁▁▁██
vue-router.minimal 52.35 KiB 0 B (0.00%) 149.47 KiB 47.02 KiB ▁▁▁▁▁▁▁▁▁██
vue-router.full 57.14 KiB 0 B (0.00%) 164.98 KiB 51.26 KiB ▁▁▁▁▁▁▁▁▁██
react-start.minimal 99.71 KiB 0 B (0.00%) 313.37 KiB 86.21 KiB ▂▂▂▂▂▂▂▂▁██
react-start.full 103.02 KiB 0 B (0.00%) 323.10 KiB 89.08 KiB ▂▂▂▂▂▂▂▂▁██
solid-start.minimal 48.79 KiB 0 B (0.00%) 147.02 KiB 43.13 KiB ▁▁▁▁▁▁▁▁▁██
solid-start.full 54.26 KiB 0 B (0.00%) 162.88 KiB 47.81 KiB ▁▁▁▁▁▁▁▁▁██

Trend sparkline is historical gzip bytes ending with this PR measurement; lower is better.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 11, 2026

More templates

@tanstack/arktype-adapter

npm i https://pkg.pr.new/@tanstack/arktype-adapter@6899

@tanstack/eslint-plugin-router

npm i https://pkg.pr.new/@tanstack/eslint-plugin-router@6899

@tanstack/history

npm i https://pkg.pr.new/@tanstack/history@6899

@tanstack/nitro-v2-vite-plugin

npm i https://pkg.pr.new/@tanstack/nitro-v2-vite-plugin@6899

@tanstack/react-router

npm i https://pkg.pr.new/@tanstack/react-router@6899

@tanstack/react-router-devtools

npm i https://pkg.pr.new/@tanstack/react-router-devtools@6899

@tanstack/react-router-ssr-query

npm i https://pkg.pr.new/@tanstack/react-router-ssr-query@6899

@tanstack/react-start

npm i https://pkg.pr.new/@tanstack/react-start@6899

@tanstack/react-start-client

npm i https://pkg.pr.new/@tanstack/react-start-client@6899

@tanstack/react-start-server

npm i https://pkg.pr.new/@tanstack/react-start-server@6899

@tanstack/router-cli

npm i https://pkg.pr.new/@tanstack/router-cli@6899

@tanstack/router-core

npm i https://pkg.pr.new/@tanstack/router-core@6899

@tanstack/router-devtools

npm i https://pkg.pr.new/@tanstack/router-devtools@6899

@tanstack/router-devtools-core

npm i https://pkg.pr.new/@tanstack/router-devtools-core@6899

@tanstack/router-generator

npm i https://pkg.pr.new/@tanstack/router-generator@6899

@tanstack/router-plugin

npm i https://pkg.pr.new/@tanstack/router-plugin@6899

@tanstack/router-ssr-query-core

npm i https://pkg.pr.new/@tanstack/router-ssr-query-core@6899

@tanstack/router-utils

npm i https://pkg.pr.new/@tanstack/router-utils@6899

@tanstack/router-vite-plugin

npm i https://pkg.pr.new/@tanstack/router-vite-plugin@6899

@tanstack/solid-router

npm i https://pkg.pr.new/@tanstack/solid-router@6899

@tanstack/solid-router-devtools

npm i https://pkg.pr.new/@tanstack/solid-router-devtools@6899

@tanstack/solid-router-ssr-query

npm i https://pkg.pr.new/@tanstack/solid-router-ssr-query@6899

@tanstack/solid-start

npm i https://pkg.pr.new/@tanstack/solid-start@6899

@tanstack/solid-start-client

npm i https://pkg.pr.new/@tanstack/solid-start-client@6899

@tanstack/solid-start-server

npm i https://pkg.pr.new/@tanstack/solid-start-server@6899

@tanstack/start-client-core

npm i https://pkg.pr.new/@tanstack/start-client-core@6899

@tanstack/start-fn-stubs

npm i https://pkg.pr.new/@tanstack/start-fn-stubs@6899

@tanstack/start-plugin-core

npm i https://pkg.pr.new/@tanstack/start-plugin-core@6899

@tanstack/start-server-core

npm i https://pkg.pr.new/@tanstack/start-server-core@6899

@tanstack/start-static-server-functions

npm i https://pkg.pr.new/@tanstack/start-static-server-functions@6899

@tanstack/start-storage-context

npm i https://pkg.pr.new/@tanstack/start-storage-context@6899

@tanstack/valibot-adapter

npm i https://pkg.pr.new/@tanstack/valibot-adapter@6899

@tanstack/virtual-file-routes

npm i https://pkg.pr.new/@tanstack/virtual-file-routes@6899

@tanstack/vue-router

npm i https://pkg.pr.new/@tanstack/vue-router@6899

@tanstack/vue-router-devtools

npm i https://pkg.pr.new/@tanstack/vue-router-devtools@6899

@tanstack/vue-router-ssr-query

npm i https://pkg.pr.new/@tanstack/vue-router-ssr-query@6899

@tanstack/vue-start

npm i https://pkg.pr.new/@tanstack/vue-start@6899

@tanstack/vue-start-client

npm i https://pkg.pr.new/@tanstack/vue-start-client@6899

@tanstack/vue-start-server

npm i https://pkg.pr.new/@tanstack/vue-start-server@6899

@tanstack/zod-adapter

npm i https://pkg.pr.new/@tanstack/zod-adapter@6899

commit: 725c972

@codspeed-hq
Copy link

codspeed-hq bot commented Mar 11, 2026

Merging this PR will not alter performance

✅ 6 untouched benchmarks


Comparing dotnize:examples/nitro-v3-beta (912d2ca) with main (9db4463)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (ec7e8c5) during the generation of this report, so 9db4463 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@SeanCassiere SeanCassiere force-pushed the examples/nitro-v3-beta branch from 4666037 to 912d2ca Compare March 14, 2026 09:37
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
examples/solid/start-basic-nitro/package.json (1)

20-20: Pin nitro exactly in example package.json for clarity.

The caret prefix ^3.0.260311-beta is semantically looser than needed. While the pnpm-lock.yaml ensures deterministic installs for end users today, pinning exactly makes the example intent explicit and avoids confusion when the lockfile is regenerated or updated.

Proposed change
-    "nitro": "^3.0.260311-beta",
+    "nitro": "3.0.260311-beta",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/solid/start-basic-nitro/package.json` at line 20, The dependency
entry for nitro in package.json uses a caret range ("nitro": "^3.0.260311-beta")
which should be pinned to an exact version; update the "nitro" value to
"3.0.260311-beta" (remove the leading ^) in the package.json dependency list so
the example explicitly pins the nitro version.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@examples/solid/start-basic-nitro/package.json`:
- Line 20: The dependency entry for nitro in package.json uses a caret range
("nitro": "^3.0.260311-beta") which should be pinned to an exact version; update
the "nitro" value to "3.0.260311-beta" (remove the leading ^) in the
package.json dependency list so the example explicitly pins the nitro version.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e23b1e56-0d95-4d36-8045-b626978ded06

📥 Commits

Reviewing files that changed from the base of the PR and between 4666037 and 912d2ca.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (6)
  • e2e/react-start/css-modules/package.json
  • e2e/react-start/dev-ssr-styles/package.json
  • e2e/react-start/flamegraph-bench/package.json
  • examples/react/start-basic/package.json
  • examples/solid/start-basic-nitro/package.json
  • examples/solid/start-basic/package.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • e2e/react-start/css-modules/package.json

@SeanCassiere SeanCassiere merged commit 8e7a942 into TanStack:main Mar 14, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants